package beans;

import java.util.List;

import javax.ejb.Remote;

import dto.AdminMessageDTO;
import dto.GeneralMessageDTO;
/**
 * 
 * @author zirbom + fodorl
 *
 */

@Remote
public interface InboxBeanRemote {
	public boolean addAdminMessage(AdminMessageDTO adminMessageDTO);
	public boolean addGeneralMessage(GeneralMessageDTO generalMessageDTO);
	public List<GeneralMessageDTO> getMailList();
	public List<GeneralMessageDTO> getMailList(int id);
	public List<GeneralMessageDTO> getAdminMailList();
	public List<GeneralMessageDTO> getUserMailList(int idUser, int idRepository);
	public void deleteEntry(int id);
}
